<%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2020/11/10
  Time: 12:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>Bootstrap 模板</title>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link href="css/bootstrap.min.css" rel="stylesheet">

    <script src="js/jquery.min.js"></script>

    <script src="js/bootstrap.min.js"></script>
</head>

<body>
<div class="page-header">
    <h2 align="center">查看新闻</h2>
</div>
<div class="container" style="font-family:微软雅黑;">
    <div class="col-md-8 col-md-offset-2">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">新闻内容</h3>
            </div>
            <div class="panel-body">
                <h3 align="center">${news.title}</h3>
                <p align="center">
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    时间：${news.time}
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    浏览量：<span class="badge">${news.views}</span>
                </p>
                <p>${news.content}</p>
            </div>
        </div>
    </div>
</div>

</body>
</html>
